#include <iostream>
using namespace std;

//阶乘尾数
class Solution {
public:
    int trailingZeroes(int n) {
        int count = 0;
        while (n >= 5)
        {
            count += n / 5;
            n /= 5;
        }
        return count;
    }
};

//取近似值
int main()
{
    float num1 = 0.0f;
    while (cin >> num1)
    {
        int num2 = num1 + 0.5;

        cout << num2 << endl;
    }

    return 0;
}